projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
758dc0c
)
(Fx_show_tip): Set string to " " if empty.
author
Jan Djärv
<jan.h.d@swipnet.se>
Mon, 18 Feb 2008 08:08:32 +0000
(08:08 +0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Mon, 18 Feb 2008 08:08:32 +0000
(08:08 +0000)
src/ChangeLog
patch
|
blob
|
history
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 25dd28a3ea5a0816cbc015dd9def650803cda164..8f89ffede5f4e6494a9dea5584b46229967b25e9 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,7
@@
+2008-02-18 Jan Dj
\e
$(Q)Z
\e
(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (Fx_show_tip): Set string to " " if empty.
+
2008-02-17 Dan Nicolaescu <dann@ics.uci.edu>
* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
diff --git
a/src/xfns.c
b/src/xfns.c
index 0261f1b7f719fc61a9a68776d1441889362f72c6..9c2afbf6736e57f08395c4cd6b1de022c3561814 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-5317,6
+5317,9
@@
Text larger than the specified size is clipped. */)
GCPRO4 (string, parms, frame, timeout);
CHECK_STRING (string);
+ if (SCHARS (string) == 0)
+ string = make_unibyte_string (" ", 1);
+
f = check_x_frame (frame);
if (NILP (timeout))
timeout = make_number (5);